package com.haohe.wx.controller;

import com.haohe.wx.util.PropertiesReadUtil;

public class BaseController {

	private String token ;
	
	private String encodingAesKey;
	
	private String appId;
	
	public BaseController() {
		this.token = PropertiesReadUtil.INSTANCE.getProperty("token");
		this.encodingAesKey = PropertiesReadUtil.INSTANCE.getProperty("encodingAesKey"); 
		this.appId = PropertiesReadUtil.INSTANCE.getProperty("corpid");
	}
	
	public String getToken() {
		return token;
	}

	public void setToken(String token) {
		this.token = token;
	}

	public String getEncodingAesKey() {
		return encodingAesKey;
	}

	public void setEncodingAesKey(String encodingAesKey) {
		this.encodingAesKey = encodingAesKey;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

}
